
all: premake
	$(MAKE) -C src $(CC)=gcc

premake:
	$(shell if [ ! -d ./build ];then mkdir ./build; fi)
	$(shell if [ ! -d ./build/bin ];then mkdir ./build/bin; fi)
	$(shell if [ ! -d ./build/obj ];then mkdir ./build/obj; fi)

clean:
	rm -rf ./build